<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1"/>
    <meta name="renderer" content="webkit"/>
    <title>代付管理管理</title>
    <script data-main="list.js" src="../../boot.js" type="text/javascript"></script>
</head>
<body style="display: none">
<div class="mini-fit">
    <div class="mini-toolbar" style="border-bottom:0;">
        <div id="search-box" class="mini-clearfix search-box">
            <div class="mini-col-4 form-component">
                <div class="form-item">
                    <label class="form-label">商户：</label>
                    <div class="input-block component-body">
                        <input name="merchantId@or@merchantName$LIKE" style="width: 100%" class="mini-textbox"/>
                    </div>
                </div>
            </div>

            <div class="mini-col-4 form-component">
                <div class="form-item">
                    <label class="form-label">收款方式：</label>
                    <div class="input-block component-body">
                        <input name="payeeType" showNullItem="true" dataField="result" valueField="value" style="width: 100%" class="mini-combobox"/>
                    </div>
                </div>
            </div>

            <div class="mini-col-4 form-component">
                <div class="form-item">
                    <label class="form-label">申请时间：</label>
                    <div class="input-block component-body">
                        <input name="createTime$gte" format="yyyy-MM-dd HH:mm:ss" style="width: 45%" class="mini-datepicker"/>
                        -
                        <input name="createTime$lt" format="yyyy-MM-dd HH:mm:ss" style="width: 45%" class="mini-datepicker"/>
                    </div>
                </div>
            </div>

            <div class="mini-col-4 form-component">
                <div class="form-item">
                    <label class="form-label">代付金额：</label>
                    <div class="input-block component-body">
                        <input name="amount$gte" allowNull="true" format="#,0.00" value="null" style="width: 45%" maxValue="100000000000" class="mini-spinner"/>
                        -
                        <input name="amount$lt" allowNull="true" format="#,0.00" value="null" style="width: 45%" maxValue="100000000000" class="mini-spinner"/>
                    </div>
                </div>
            </div>

            <div class="mini-col-4 form-component">
                <div class="form-item">
                    <label class="form-label">手续费：</label>
                    <div class="input-block component-body">
                        <input name="chargeAmount$gte" allowNull="true" format="#,0.00" value="null" style="width: 45%" maxValue="100000000000" class="mini-spinner"/>
                        -
                        <input name="chargeAmount$lt" allowNull="true" format="#,0.00" value="null" style="width: 45%" maxValue="100000000000" class="mini-spinner"/>
                    </div>
                </div>
            </div>

            <div class="mini-col-4 form-component">
                <div class="form-item">
                    <label class="form-label">完成时间：</label>
                    <div class="input-block component-body">
                        <input name="completeTime$gte" format="yyyy-MM-dd HH:mm:ss" style="width: 45%" class="mini-datepicker"/>
                        -
                        <input name="completeTime$lt" format="yyyy-MM-dd HH:mm:ss" style="width: 45%" class="mini-datepicker"/>
                    </div>
                </div>
            </div>
        </div>
        <!--<div class="operate-button">-->
            <!--<a class="mini-button add-button"><i class="fa fa-plus"></i> 发起代付</a>-->
        <!--</div>-->
    </div>
    <div class="mini-fit">
        <div id="data-grid" class="mini-datagrid" style="width:100%;height:100%;margin: auto;"
             idField="id" pageSize="20" sortField="createTime" sortOrder="desc"
             treeColumn="index">
            <div property="columns">
                <div field="merchantName" headerAlign="center" align="center" width="150">商户名称
                </div>
                <div name="totalAmount" allowSort="true" field="totalAmount" width="50" headerAlign="center" align="center">代付总金额
                </div>
                <div name="charge" allowSort="true" field="charge" width="50" headerAlign="center" align="center">服务费
                </div>
                <div field="payeeType" displayField="payeeType.text" headerAlign="center" align="center" width="50">付款方式
                </div>
                <div name="status" field="status" displayField="status.text" headerAlign="center" allowSort="true" align="center" width="50">当前状态
                </div>
                <div name="createTime" field="createTime" headerAlign="center" allowSort="true" align="center" width="80">申请时间
                </div>
                <div name="action" width="80" headerAlign="center" align="center">
                    操作
                </div>
            </div>
        </div>
    </div>
</div>
<div id="channelWindow" style="width: 800px;height: 400px" title="选择渠道" class="mini-window">
    <div class="mini-fit">
        <div id="channel-grid" showPager="false" class="mini-datagrid" style="width:100%;height:100%;margin: auto;"
             idField="id" pageSize="20" sortField="applyTime" sortOrder="desc"
             treeColumn="index">
            <div property="columns">
                <div name="channelName" field="channelName" headerAlign="center" align="center" width="80">渠道
                </div>
                <div name="channelProviderName" field="channelProviderName" allowSort="true" width="80"
                     headerAlign="center" align="center">渠道服务商
                </div>
                <div name="name" allowSort="true" field="name" headerAlign="center" align="center" width="80">名称
                </div>
                <div name="action" width="40" headerAlign="center" align="center">
                    操作
                </div>
            </div>
        </div>
    </div>
</div>

<div id="withdraw-window" style="width: 500px;height: 300px" title="发起提现" class="mini-window">
    <div class="mini-clearfix dynamic-form">
        <div class="mini-col-11 form-component">
            <div class="form-item">
                <label class="form-label">商户：</label>
                <div class="input-block component-body">
                    <input name="merchantId" emptyText="输入商户id或者点击...进行选择" style="width: 100%" class="mini-buttonedit"/>
                </div>
            </div>
        </div>
        <div class="mini-col-11 form-component">
            <div class="form-item">
                <label class="form-label">提现金额：</label>
                <div class="input-block component-body">
                    <input property="editor" style="width: 100%" name="amount" maxValue="100000000000" format="#,0.00元" class="mini-spinner"/>
                </div>
            </div>
        </div>
        <div class="mini-col-11 form-component" style="text-align: center;margin-top: 20px">
            <div class="form-item">
                <a class="mini-button save-button">确定</a>
                <a class="mini-button cancel-button">取消</a>
            </div>
        </div>
    </div>
</div>
</body>
</html>